package com.lori.netshop.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.lori.netshop.pojo.CarItem;
import com.lori.netshop.util.NetshopResult;

public interface CarService {
	NetshopResult carAddItem(long itemId,int num,HttpServletRequest request,HttpServletResponse response);
	
	List<CarItem> findCarItems(HttpServletRequest request,HttpServletResponse response);
	
	NetshopResult updateItemNum(long itemId,int num,HttpServletRequest request,HttpServletResponse response);
	
	NetshopResult deleteCarItem(Long itemId,HttpServletRequest request,HttpServletResponse response);
}
